#include "EM.h"
#include <dht.h>
#include <SoftwareSerial.h>
EM em;

void setup() {
  // put your setup code here, to run once:
  em.initial();
}

void loop() {
  // environmental information and intelligent control
  em.humidity();
  em.light();
  em.smoke();
  em.flame();
  em.soundWave();
  em.automatic_LED();
  em.automatic_alarm();
  
  // wireless control via bluetooth of android mobile phone
  em.wireless_control();
  
  // wiew control via labview computer APP
  em.wire_control();
}
